.class public Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;
.super Ljava/lang/Object;
.source "WebViewFactory.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;
    }
.end annotation


# static fields
.field private static final LOG:Lcom/burstly/lib/util/LoggerExt;

.field private static final TAG:Ljava/lang/String;


# instance fields
.field private final mContext:Landroid/content/Context;

.field private mCreateForFullscreen:Z

.field private final mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

.field private final mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

.field private mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

.field private mWebView:Lcom/burstly/lib/util/UiSafeWebView;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 46
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->LOG:Lcom/burstly/lib/util/LoggerExt;

    .line 51
    const-class v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->TAG:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;Lcom/burstly/lib/network/beans/ResponseBean;)V
    .locals 0
    .parameter "context"
    .parameter "rData"
    .parameter "rFullResponse"

    .prologue
    .line 128
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 129
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mContext:Landroid/content/Context;

    .line 130
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    .line 131
    iput-object p3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    .line 132
    return-void
.end method

.method private createDefault()V
    .locals 2

    .prologue
    .line 195
    new-instance v0, Lcom/burstly/lib/util/UiSafeWebView;

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/burstly/lib/util/UiSafeWebView;-><init>(Landroid/content/Context;)V

    .line 196
    .local v0, rewards:Lcom/burstly/lib/util/UiSafeWebView;
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    if-eqz v1, :cond_0

    .line 197
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    invoke-interface {v1, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;->defaultViewCreated(Lcom/burstly/lib/util/UiSafeWebView;)V

    .line 199
    :cond_0
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    .line 200
    return-void
.end method

.method private createImplementation()V
    .locals 1

    .prologue
    .line 180
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v0}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getAdType()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData$AdType;

    move-result-object v0

    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->isOrmma(Lcom/burstly/lib/network/beans/ResponseBean$ResponseData$AdType;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 181
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->createOrmma()V

    .line 189
    :goto_0
    return-void

    .line 182
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v0}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getAdType()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData$AdType;

    move-result-object v0

    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->isMraid(Lcom/burstly/lib/network/beans/ResponseBean$ResponseData$AdType;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 183
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->createMraid()V

    goto :goto_0

    .line 184
    :cond_1
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->isRewards()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 185
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->createRewards()V

    goto :goto_0

    .line 187
    :cond_2
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->createDefault()V

    goto :goto_0
.end method

.method private createMraid()V
    .locals 4

    .prologue
    .line 206
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mContext:Landroid/content/Context;

    invoke-direct {v0, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;-><init>(Landroid/content/Context;)V

    .line 207
    .local v0, mraid:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v2}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getSkipButtonActivationTime()Ljava/lang/Integer;

    move-result-object v1

    .line 208
    .local v1, skipButtonActivationTime:Ljava/lang/Integer;
    if-eqz v1, :cond_0

    .line 209
    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    mul-int/lit16 v2, v2, 0x3e8

    int-to-long v2, v2

    invoke-virtual {v0, v2, v3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setCloseButtonShowDelay(J)V

    .line 211
    :cond_0
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    if-eqz v2, :cond_1

    .line 212
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    invoke-interface {v2, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;->mraidViewCreated(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;)V

    .line 214
    :cond_1
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    .line 215
    return-void
.end method

.method private createOrmma()V
    .locals 2

    .prologue
    .line 232
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView;

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    .line 233
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    if-eqz v0, :cond_0

    .line 234
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    check-cast v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView;

    invoke-interface {v1, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;->ormmaViewCreated(Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView;)V

    .line 236
    :cond_0
    return-void
.end method

.method private createRewards()V
    .locals 2

    .prologue
    .line 221
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    .line 222
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    if-eqz v0, :cond_0

    .line 223
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    check-cast v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    invoke-interface {v1, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;->rewardsViewCreated(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;)V

    .line 226
    :cond_0
    return-void
.end method

.method private doCreate(Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;)V
    .locals 5
    .parameter "visitor"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 151
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    .line 152
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->createImplementation()V

    .line 154
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->setBackgroundColor(Landroid/webkit/WebView;)V

    .line 155
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1, v4}, Lcom/burstly/lib/util/UiSafeWebView;->setClickable(Z)V

    .line 156
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    iget-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mCreateForFullscreen:Z

    invoke-virtual {v1, v2}, Lcom/burstly/lib/util/UiSafeWebView;->setInterstitial(Z)V

    .line 157
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1, v3}, Lcom/burstly/lib/util/UiSafeWebView;->setScrollContainer(Z)V

    .line 158
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1, v3}, Lcom/burstly/lib/util/UiSafeWebView;->setVerticalScrollBarEnabled(Z)V

    .line 159
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1, v3}, Lcom/burstly/lib/util/UiSafeWebView;->setHorizontalScrollBarEnabled(Z)V

    .line 161
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1, v4}, Lcom/burstly/lib/util/UiSafeWebView;->setInitialScale(I)V

    .line 163
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mWebView:Lcom/burstly/lib/util/UiSafeWebView;

    invoke-virtual {v1}, Lcom/burstly/lib/util/UiSafeWebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    .line 164
    .local v0, webSettings:Landroid/webkit/WebSettings;
    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setSavePassword(Z)V

    .line 165
    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setSaveFormData(Z)V

    .line 166
    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    .line 167
    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setPluginsEnabled(Z)V

    .line 168
    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setSupportZoom(Z)V

    .line 169
    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    .line 171
    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setLoadWithOverviewMode(Z)V

    .line 172
    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setUseWideViewPort(Z)V

    .line 173
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mVisitor:Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;

    .line 174
    return-void
.end method

.method private isRewards()Z
    .locals 4

    .prologue
    .line 244
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getDataType()Ljava/lang/Integer;

    move-result-object v0

    .line 245
    .local v0, dataType:Ljava/lang/Integer;
    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->isRewards(Ljava/lang/Integer;)Z

    move-result v2

    .line 246
    .local v2, result:Z
    if-nez v2, :cond_1

    iget-boolean v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mCreateForFullscreen:Z

    if-eqz v3, :cond_1

    .line 247
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mRdata:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getDestType()Ljava/lang/Integer;

    move-result-object v1

    .line 248
    .local v1, destType:Ljava/lang/Integer;
    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferCustom:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferDownload:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferFlipbook:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferPromotion:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferShare:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    sget-object v3, Lcom/burstly/lib/network/beans/DestinationType;->OfferWatch:Lcom/burstly/lib/network/beans/DestinationType;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/DestinationType;->getValue()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    :cond_0
    const/4 v2, 0x1

    .line 255
    .end local v1           #destType:Ljava/lang/Integer;
    :cond_1
    :goto_0
    return v2

    .line 248
    .restart local v1       #destType:Ljava/lang/Integer;
    :cond_2
    const/4 v2, 0x0

    goto :goto_0
.end method

.method private setBackgroundColor(Landroid/webkit/WebView;)V
    .locals 8
    .parameter "view"

    .prologue
    .line 264
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean;->getColor()Lcom/burstly/lib/network/beans/ResponseBean$Color;

    move-result-object v1

    .line 265
    .local v1, color:Lcom/burstly/lib/network/beans/ResponseBean$Color;
    if-eqz v1, :cond_0

    .line 266
    const-string v3, "bg"

    invoke-virtual {v1, v3}, Lcom/burstly/lib/network/beans/ResponseBean$Color;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 267
    .local v2, hexString:Ljava/lang/String;
    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->getColorFromHex(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    .line 268
    .local v0, bgColor:Ljava/lang/Integer;
    if-eqz v0, :cond_0

    .line 269
    sget-object v3, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v4, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->TAG:Ljava/lang/String;

    const-string v5, "Setting {0} background color to a web view"

    const/4 v6, 0x1

    new-array v6, v6, [Ljava/lang/Object;

    const/4 v7, 0x0

    aput-object v2, v6, v7

    invoke-virtual {v3, v4, v5, v6}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 270
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v3

    invoke-virtual {p1, v3}, Landroid/webkit/WebView;->setBackgroundColor(I)V

    .line 273
    .end local v0           #bgColor:Ljava/lang/Integer;
    .end local v2           #hexString:Ljava/lang/String;
    :cond_0
    return-void
.end method


# virtual methods
.method public createImplementation(Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;Z)V
    .locals 1
    .parameter "callback"
    .parameter "fullscreenCreative"

    .prologue
    .line 140
    const-string v0, "factory callback must not be null"

    invoke-static {p1, v0}, Lcom/burstly/lib/util/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 141
    iput-boolean p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->mCreateForFullscreen:Z

    .line 142
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory;->doCreate(Lcom/burstly/lib/component/networkcomponent/burstly/html/WebViewFactory$IFactoryCallback;)V

    .line 143
    return-void
.end method
